package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 全国省市区经纬度字典对象 area
 * 
 * @author ruoyi
 * @date 2025-04-27
 */
public class Area extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域ID */
    private String id;

    /** 上级区域ID */
    @Excel(name = "上级区域ID")
    private String parentId;

    /** 行政区域等级 1-省 2-市 3-区县 4-街道镇 */
    @Excel(name = "行政区域等级 1-省 2-市 3-区县 4-街道镇")
    private Integer level;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 完整名称 */
    @Excel(name = "完整名称")
    private String wholeName;

    /** 本区域经度 */
    @Excel(name = "本区域经度")
    private String lon;

    /** 本区域维度 */
    @Excel(name = "本区域维度")
    private String lat;

    /** 电话区号 */
    @Excel(name = "电话区号")
    private String cityCode;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipCode;

    /** 行政区划代码 */
    @Excel(name = "行政区划代码")
    private String areaCode;

    /** 名称全拼 */
    @Excel(name = "名称全拼")
    private String pinYin;

    /** 首字母简拼 */
    @Excel(name = "首字母简拼")
    private String simplePy;

    /** 区域名称拼音的第一个字母 */
    @Excel(name = "区域名称拼音的第一个字母")
    private String perPinYin;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }

    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setWholeName(String wholeName) 
    {
        this.wholeName = wholeName;
    }

    public String getWholeName() 
    {
        return wholeName;
    }

    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }

    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }

    public String getZipCode() 
    {
        return zipCode;
    }

    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }

    public void setPinYin(String pinYin) 
    {
        this.pinYin = pinYin;
    }

    public String getPinYin() 
    {
        return pinYin;
    }

    public void setSimplePy(String simplePy) 
    {
        this.simplePy = simplePy;
    }

    public String getSimplePy() 
    {
        return simplePy;
    }

    public void setPerPinYin(String perPinYin) 
    {
        this.perPinYin = perPinYin;
    }

    public String getPerPinYin() 
    {
        return perPinYin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("level", getLevel())
            .append("name", getName())
            .append("wholeName", getWholeName())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("cityCode", getCityCode())
            .append("zipCode", getZipCode())
            .append("areaCode", getAreaCode())
            .append("pinYin", getPinYin())
            .append("simplePy", getSimplePy())
            .append("perPinYin", getPerPinYin())
            .toString();
    }
}
